package it.infodea.tapestrydea.support.annotations;

import it.infodea.tapestrydea.support.enumerations.SecurityGroup;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface PageInfo {

	public static final String MODE_NORMAL = "MODE_NORMAL";
	public static final String MODE_HIDDEN = "MODE_HIDDEN";
	public static final String CATEGORY_ROOT = "CATEGORY_ROOT";

	String parentCategory() default CATEGORY_ROOT;

	String category() default CATEGORY_ROOT;

	SecurityGroup allowedSecurityGroup() default SecurityGroup.USER;

	String mode() default MODE_HIDDEN;
}
